<?
	$db->remove("gallery", "gid=$gid");

	redirect("index.php");
?>